<template>
<div class="app">
  <header>
    <router-view name="header" />
  </header>
  <main class="main-container">
     <router-view />
  </main>
  <footer>
    <router-view name="footer" />
  </footer>
</div>
</template>

<script>
import './reset.scss'
export default {
  name: 'App',
  components: {
  }
}
</script>

<style lang="scss">
 @font-face {
    font-family: 'iconfont';  /* project id 1852840 */
    src: url('//at.alicdn.com/t/font_1852840_opo65h71jhp.eot');
    src: url('//at.alicdn.com/t/font_1852840_opo65h71jhp.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.woff') format('woff'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_1852840_opo65h71jhp.svg#iconfont') format('svg');
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  html, body {
    height: 100%;
  }
  .app {
    height: 100%;
    display: flex;
    flex-direction: column;
    .main-container {
      flex: 1;
      overflow-x: hidden;
    }
  }
</style>
